package cn.kxm.service;

import java.util.List;
import java.util.Map;

import cn.kxm.pojo.SellOrderBill;
import cn.kxm.pojo.SellOrderBillDetail;

public interface SellOrderBillService {
	  public List<Map<String, Object>> getSellOrderBills(String code,String starttime,String endtime,String customName,Integer pageNo,Integer pageSize);
	  public int getSellOrderBillCount(String code,String starttime,String endtime,String customName);
	  public Map<String, Object> getSellOrderBillByCode(String code);
	  public List<Map<String, Object>> getfindPartsBySellCode(String sellcode);
	  public int addSellOrderBill(SellOrderBill sellOrderBill);
	  public int addSellOrderBillDetail(SellOrderBillDetail sellOrderBillDetail);
	  public int updateSellOrderBill(SellOrderBill sellOrderBill);
	  public int updateSellOrderBillDetail(SellOrderBillDetail sellOrderBillDetail);
	  public List<SellOrderBillDetail> getSellOrderBillDetailListByBillCode(String billCode);
	  public int delSellOrderBill(String code);
	  public int delSellOrderBillDetail(String billCode);
	  public int addSellOrder(SellOrderBill sellOrderBill,List<SellOrderBillDetail> sellOrderBillDetails);
	  public int updateSellOrder(SellOrderBill sellOrderBill,List<SellOrderBillDetail> sellOrderBillDetails);
	  public List<Map<String, Object>> getOfferPriceBills(String code,String starttime,String endtime, String customName,Integer pageNo,Integer pageSize);
	  public int getOfferPriceBillsCount(String code,String starttime,String endtime,String customName);
	  public int delOne(String code);
	  public int updateAuditing(String code);
	  public int updateUnaudited(String code);
	  public List<Map<String, Object>> getSellOrderBillList(String code,String starttime,String endtime,String customName);
}
